package com.huabo.audit.oracle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 描述: 
 * author: ziyao
 * date: 2022-04-20
 */
@TableName("TBL_NBSJ_AUDITPROGRAM")
@Data
@ApiModel("审计指引-实体类")
@Accessors(chain = true)
public class TblNbsjAuditprogramEntity {

    @TableId(value = "programid", type= IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer programId;

    @TableField(value = "targetid")
    @ApiModelProperty(value="模板目录id",required = true)
    private Integer targetId;

    @TableField(value = "businesstype")
    @ApiModelProperty(value="业务单元",required = true)
    private String businessType;

    @TableField(value = "risksource")
    @ApiModelProperty(value="风险归属")
    private String riskSource;

    @TableField(value = "suditprocess")
    @ApiModelProperty(value="审计程序",required = true)
    private String suditProcess;

    @TableField(value = "riskpoint")
    @ApiModelProperty(value="风险描述",required = true)
    private String riskPoint;

    @TableField(value = "tempid")
    @ApiModelProperty(value="模板id",hidden=true)
    private Integer tempId;

    @TableField(value = "updatetime")
    @ApiModelProperty(value="修改时间",hidden=true)
    private Date updateTime;

    @TableField(value = "createtime")
    @ApiModelProperty(value="创建时间",hidden=true)
    private Date createTime;

    @TableField(value = "biodata")
    @ApiModelProperty(value="所需资料")
    private String bioData;

    @TableField(value = "status")
    @ApiModelProperty(value="",hidden=true)
    private Integer status;

    @TableField(value = "control")
    @ApiModelProperty(value="控制措施",required = true)
    private String control;

    @TableField(value = "programcode")
    @ApiModelProperty(value="",hidden=true)
    private String programCode;

    @TableField(value = "isuseprogram")
    @ApiModelProperty(value="",hidden=true)
    private Integer isUseProgram;

    @ApiModelProperty(value="员工名称",hidden=true)
    private String staffName;
}
